<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/15
  Time: 9:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>用户登录</title>
    <!--1. 引入jquery-->
    <link rel="stylesheet" href="webjars/jquery/3.6.0/dist/jquery.min.js">
    <!--2. 引入bootstrap的js-->
    <script src="webjars/bootstrap/3.4.1/dist/js/bootstrap.min.js"></script>
    <!--3. 引入bootstrap的css-->
    <link rel="stylesheet" href="webjars/bootstrap/3.4.1/dist/css/bootstrap.min.css">

    <style>
        .container{
            width: 600px;
            padding-top: 20px;
        }
        .t{
            margin-bottom: 10px;
        }
        .error{
            color:red;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <div class="panel-title">用户登录</div>
        </div>
        <div class="panel-body">
            <form class="form-signin" method="post" action="/user2/login.do">
                <input type="text" class="t form-control" name="username" placeholder="请输入用户名" required autofocus>
                <input type="password" class="t form-control" name="password" placeholder="请输入密码" required>

                <button class="btn btn-primary btn-block" type="submit">登录</button>
            </form>
            <span class="error">
                ${message}
            </span>
        </div>
        <div class="panel-footer text-right">
            泽林教育2021
        </div>
    </div>


</div>
</body>
</html>
